{% if check.status == "down" %}
    Down: {{ check.name_then_code|safe }}
{% else %}
    Up: {{ check.name_then_code|safe }}
{% endif %}
